package org.nmgyjt.springboot.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.nmgyjt.springboot.beans.admin.CsBusinessUserAuthParamDTO;
import org.nmgyjt.springboot.beans.dto.BusAuthUserAddDto;
import org.nmgyjt.springboot.beans.dto.CyBusAuthUserAddDto;
import org.nmgyjt.springboot.beans.dto.UserAuthCodeParamDto;
import org.nmgyjt.springboot.beans.vo.CsBusinessUserAuthListVo;
import org.nmgyjt.springboot.beans.vo.CsBusinessUserListVo;
import org.nmgyjt.springboot.entity.admin.CsBusiness;

import java.util.List;

public interface IBusinessAuthService {
    void addAuthUser(BusAuthUserAddDto dto) throws Exception;

    List<CsBusinessUserListVo> getBuAuthCodeList(UserAuthCodeParamDto dto);

    List<CsBusiness> businessAllList();

    IPage<CsBusinessUserAuthListVo> listPage(CsBusinessUserAuthParamDTO bean);


    void defaultBuAuth(BusAuthUserAddDto bean);

    void cydwsq(CyBusAuthUserAddDto cyBusAuthUserAddDto);
}
